type PropType = {
  name: string
  age: string
  friends: string[]
}

function MyCom(props: PropType) {
  console.log('props:', props)
  return (
    // <div name={props.name} age={props.age}>
    <div {...props}>app</div>
  )
}

export default MyCom
